//
//  UIButton+Block.h
//  Beckon
//
//  Created by zL on 2017/3/6.
//  Copyright © 2017年 zL. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <objc/runtime.h>


typedef void (^ButtonActionBlock)(UIButton *sender);

@interface UIButton(Block)

@property (readonly) NSMutableDictionary *event;

- (void)addTargetWithControlEvents:(UIControlEvents)controlEvents withBlock:(ButtonActionBlock)block;

@end
